#ifndef DSPSIMULATOR_CONTINUE_H
#define DSPSIMULATOR_CONTINUE_H

#include <vector>
#include <simulator/command/command.h>

class Instruction;

class ContinueCommand : public Command {
private:
    std::vector<std::shared_ptr<Instruction>> &m_executePacket;

public:
    static std::shared_ptr<ContinueCommand> get(Simulator* dspSimulator,std::vector<std::shared_ptr<Instruction>> &executePacket);

    ~ContinueCommand() override = default;

    void execute(std::string command) override;

    explicit ContinueCommand(Simulator* dspSimulator,
                             std::vector<std::shared_ptr<Instruction>> &executePacket)
            : Command(dspSimulator), m_executePacket(executePacket) {}
};

#endif //DSPSIMULATOR_CONTINUE_H
